package com.zyl.pts.domain.vo.FHVO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.zyl.pts.domain.bean.Hurdles;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @version v1.0
 * @ProjectName: product_source
 * @Package: com.zyl.pts.domain.vo.FHVO
 * @ClassName: FHByIdVo
 * @Description TODO()
 * @Author 翟玉龙
 * @Date 2024/11/19-15:39
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class FHByIdVO {
    /**
     * 栏舍id
     */
    @JsonProperty("fhId")
    private String fhId;
    /**
     * 栏舍名称
     */
    @JsonProperty("fhName")
    private String fhName;
    /**
     * 栏舍描述
     */
    @JsonProperty("fhDesc")
    private String fhDesc;
    /**
     * 栏舍创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("fhTime")
    private LocalDateTime fhTime;

    @JsonProperty("mhs")
    private List<Hurdles> mhs;

}
